<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head th:replace="adminCommon::common-header"></head>
<body class="sb-nav-fixed">
<nav th:replace="adminCommon::common-navbar"></nav>
<div id="layoutSidenav">
    <div th:replace="adminCommon::common-sidenav"></div>

    <div id="layoutSidenav_content">
      ```html
<main>
    <div class="container-fluid px-4">
        <h1 class="mt-4">Enrollment Information</h1>

        <ol class="breadcrumb mb-4">
            <li class="breadcrumb-item"><a th:href="@{/toAdminMain}">Home</a></li>
            <li class="breadcrumb-item"><a th:href="@{/class/selClass}">Course Management</a></li>
            <li class="breadcrumb-item active">Enrollment Information</li>
        </ol>

        <div class="card mb-4">

            <!-- Display when classOrderList is empty (No one has enrolled for this course) -->
            <div th:if="${#lists.isEmpty(classOrderList)}">
                <table class="table table-hover">
                    <tr>
                        <td align="center">No enrollment information available!</td>
                    </tr>
                </table>
            </div>

            <!-- Display when classOrderList is not empty (Some members have enrolled for this course) -->
            <div th:if="${not #lists.isEmpty(classOrderList)}">
                <table class="table table-hover">
                    <tr>
                        <td text-align="center">Course ID:</td>
                        <td th:text="${classOrderList[0].classId}">Course ID</td>
                    </tr>

                    <tr>
                        <td text-align="center">Course Name:</td>
                        <td th:text="${classOrderList[0].className}">Course Name</td>
                    </tr>
                    <tr>
                        <td text-align="center">Start Time:</td>
                        <td th:text="${classOrderList[0].classBegin}">Start Time</td>
                    </tr>
                    <tr>
                        <td colspan="2"></td>
                    </tr>
                    <tr>
                        <td colspan="2"><strong>Enrolled Members:</strong></td>
                    </tr>
                    <tr th:each="order:${classOrderList}">
                        <td th:text="${order.memberAccount}">N/A</td>
                        <td th:text="${order.memberName}">N/A</td>
                    </tr>
                </table>
            </div>

            <a th:href="@{/class/selClass}" style="text-align:center;margin-top:10px;margin-bottom:20px">
                <input type="submit" class="btn btn-outline-secondary" value="Back">
            </a>
        </div>
    </div>
</main>
```
        <footer th:replace="adminCommon::common-footer"></footer>
    </div>
</div>

<div th:include="adminCommon::common-scripts"></div>
</body>
</html>
